﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Common;

namespace Validation
{
    public class ViewModelRaw : BaseClass
    {
        public ViewModelRaw()
        {
            Customer = new CustomerRaw()
                           {
                               Name = "LUONG",
                               Age = 10,
                           };
        }

        private CustomerRaw customer;
        public CustomerRaw Customer
        {
            get { return customer; }

            set 
            { 
                customer = value;
                OnPropertyChanged("Customer");
            }
        }
    }
}
